package com.tsll.service;

import com.tsll.entity.Role;
import com.tsll.vo.Result;


public interface RoleService {

    public Result findAll(Integer current,Integer pageSize);

    public Result updateStatus(Integer roleId,Integer status);
    public  Result deleteAll(Integer roleId);
    public Result update(Role role);
    public  Result insertAll(Role role);

    public Result selectByPrimaryKey(Integer id);


    Result selectAll();

    Result selectByDept(Integer deptid);
}
